const HtmlWebpackPlugin = require('html-webpack-plugin')
var htmlWebpackPlugin = require('html-webpack-plugin')
var webpack = require('webpack')
module.exports = {
    mode:'development',
    entry:'./src/index.js',
    plugins:[new HtmlWebpackPlugin({
            template:'index.html'
        }),
        new webpack.EvalSourceMapDevToolPlugin({
            filename: '[name].js.map'
        })
    ]
}